import { request } from '../request/request.js'

export function getSearch(value) {
  return new Promise((resolve, resject) => {
          request({
                  url: '/shop/goods/list?k='+value,
                  method: 'POST',
          }).then(res => {
                  resolve(res)
          })
  })
}